﻿using System;

namespace Axial.DOM
{
	public class Location
	{
		private Location() { }
		public string Hash { get; set; }
		public string Host { get; set; }
		public string Hostname { get; set; }
		public string Href { get; set; }
		public string Pathname { get; set; }
		public string Port { get; set; }
		public string Protocol { get; set; }
		public string Search { get; set; }
	}

	public static class Window
	{
		public static void Alert(object message) { }
		public static bool Confirm(string question) { return default(bool); }
		public static void Close() { }
		public static void Debugger() { }
		public static int SetTimeout(Action action, int wait) { return default(int); }
		public static void ClearTimeout(int timeoutId) { }
		public static int SetInterval(Action action, int wait) { return default(int); }
		public static void ClearInterval(int intervalId) { }
		public static Event Event { get { return null; } }
		public static int Open(string url) { return default(int); }
		public static int Open(string url, string name) { return default(int); }
		public static int Open(string url, string name, string features) { return default(int); }
		public static int Open(string url, string name, string features, string replace) { return default(int); }
		public static string Prompt(string msg) { return string.Empty; }
		public static string Prompt(string msg, string defaultResponse) { return string.Empty; }
		public static void Print() { }
		public static Location Location { get; set; }
	}
}
